package com.atguigu.java8.lambdaDemo;

/**
 * @author Xiaohong X Gou
 * @createTime 2022-10-11 10:32
 * @description
 */
public class FilterEmployeeByAge implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee t) {
        return t.getAge()>=35;
    }
}
